package com.gxa.common.entity.financial_management;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExchangeRateRecord {

  @TableId(type = IdType.AUTO)
  private Long id;
  private Long exchangeRateId;
  private String baseCurrency;
  private String tradeCurrency;
  private Integer tradeCurrencyUnit;
  private BigDecimal purchasePrice;
  private BigDecimal sellPrice;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date releaseTime;


}
